<extend name="Public:base" />
<block name="content">
    <style type="text/css">
        #normal{
            display: block;
            margin-top: 10px;
            float: left;
            width: 500px;
            padding: 5px 25px 5px 25px;
            border: solid 1px grey;
        }
        #good{
            display: block;
            float: left;
            margin-top: 10px;
            margin-left: 50px;
            width: 500px;
            padding: 5px 25px 5px 25px;
            border: solid 1px grey;
        }
    </style>
    <div class="table-responsive">
        <div id="normal">
            <h5>普通项目</h5>
            <table class="table table-bordered" id="mytable">
                <thead>
                <volist name="normal" id="vo" key="k">
                    <tr>
                        <th align="center">
                            <php>echo str_repeat("&nbsp;",$vo['level']*2);</php>
                            <php>if($vo['level'] != 0 && $vo['selected'] == 1){</php>
                            <input type="checkbox" checked="checked" disabled="disabled">
                            <php>}</php>
                            <php>if($vo['level'] != 0 && $vo['selected'] == 0){</php>
                            <input type="checkbox" disabled="disabled">
                            <php>}</php>
                            {$vo.category_name}
                        </th>
                    </tr>
                </volist>
                </thead>
            </table>
        </div>
        <div id="good">
            <h5>专修项目</h5>
            <table class="table table-bordered" id="mytable">
                <thead>
                <volist name="major" id="vo" key="k">
                    <tr>
                        <th align="center">
                            <php>echo str_repeat("&nbsp;",$vo['level']*2);</php>
                            <php>if($vo['level'] != 0 && $vo['selected'] == 1){</php>
                            <input type="checkbox" checked="checked" disabled="disabled">
                            <php>}</php>
                            <php>if($vo['level'] != 0 && $vo['selected'] == 0){</php>
                            <input type="checkbox" disabled="disabled">
                            <php>}</php>
                            {$vo.category_name}
                        </th>
                    </tr>
                </volist>
                </thead>
            </table>
        </div>
    </div>
</block>
<block name="javascript">

</block>